package com.zzj.security.jwt.repository;

import com.zzj.security.jwt.entity.SysRole;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;

import java.util.List;

/**
 * @ClassName SysRoleRespository
 * @Description TODO
 * @Author zhijun zeng at 20:40 2020/5/17
 * @Version 1.0
 **/
public interface SysRoleRespository extends JpaRepository<SysRole, Long> {

//    List<SysRole> findRolesByUserId(Long userid);
}
